package com.icode.dao;

import com.icode.core.model.house.HouseInfo;
import com.icode.core.model.house.HouseWeek;
import com.icode.core.model.house.HouseWeekTime;
import com.icode.core.model.manage.Reserve;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: xianfei
 * Date: 15-6-24
 * Time: 下午5:27
 * To change this template use File | Settings | File Templates.
 */
public interface HouseWeekDao extends EntityDao {

    List<HouseInfo> findHouseInfoByArea(String area);

    List<HouseWeek> findHouseWeekByArea(String area);

    HouseWeek findHouseWeekByWeek(String week,HouseInfo houseInfo);

    void deleteObject(Object object);

    List<HouseWeek> findHouseWeekType(String area,HouseInfo houseInfo);

    List<HouseWeekTime> findHouseWeekTimeByArea(String area);

    void updateStateForHouseWeekTimeByGuids(List<String> weekTimeGuids);


    void deleteHouseWeekTimeByHouseWeek(HouseWeek houseWeek);

    List<HouseWeek> findHouseWeekByHouseInfoGuid(String guid);

    Reserve findReserveByHouseInfoGuid(String houseInfoGuid);
}
